package com.pubinfo.passbook.data.service;

import com.mashape.unirest.http.exceptions.UnirestException;
import com.pubinfo.passbook.common.entity.TPassbook;

import java.io.IOException;
import java.util.List;

public interface DownLoadPDFService {
  
  /**
   * 下载指定id的文件
   *
   * @param eInvoiceId
   */
  void downLoadPDFByEInvoiceId(String eInvoiceId);
  
  void downLoadPDFByPassbook(List<TPassbook> passbookList);
  
  /**
   * 下载所有需要下载的文件
   */
  void downLoadPDF();

  /**
   * 下载详情pdf
   * @param invoiceIds
   */
  Boolean downDetailPdf(List<String> invoiceIds) throws UnirestException, IOException;

}
